package edu.hunan.cxb18.orm.pojo;

import java.util.List;

/**
 * @author chenheng
 * @create 2020-03-04 13:41
 */
public class Student {
    private Integer id;
    private String username;
    private List<Score> scores;

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", scores=" + scores +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    public List<Score> getScores() {
        return scores;
    }

    public void setScores(List<Score> scores) {
        this.scores = scores;
    }

    public Student(String username) {
        this.username = username;
    }

}
